package com.ocom.ugcapi.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.vo.activiti.PageResultVo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class DishesFormCartVo implements Serializable {

    private Long comId;
    @JsonProperty("pId")
    private Integer pId;

    private Integer merchId;
    private String merchName;

    private Integer pointId;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date mealDate;

    private Integer mealNo;

    private String pointName;

    private String status;

    private List<MealMenuInfo> mealMenuInfo;

    @Data
    public static class MealMenuInfo implements Serializable{
        private String dishesName;
        private Integer priceMode;
        private Integer weightNumber;
        private Integer dishesPrice;
        private String photoUrl;
    }
}
